//
//  TSFindCategoryItemViewModel.m
//  TaShuo
//
//  Created by N-X on 2018/3/19.
//  Copyright © 2018年 MRNAN. All rights reserved.
//

#import "TSFindCategoryItemViewModel.h"
#import "TSFindCategoryCollectionCell.h"
#import "TSFindCategoryModel.h"

@implementation TSFindCategoryItemViewModel
- (void)bindView:(UIView *)view
{
    TSFindCategoryCollectionCell * cell = (TSFindCategoryCollectionCell *)view;
    NSArray * greyimgArray = [_categoryCellModel.icon componentsSeparatedByString:@"?"];
    cell.iconImageUrlStr = greyimgArray[0];
    cell.titleStr = _categoryCellModel.tag_name;
}
@end
